]> dgit.raspbian.org Git - gnome-shell.git/commit
layout: Reset the OSK to the primary monitor when monitors change
authorRui Matos <tiagomatos@gmail.com>
Mon, 13 Oct 2014 15:43:39 +0000 (17:43 +0200)
committerRui Matos <tiagomatos@gmail.com>
Thu, 16 Oct 2014 14:42:36 +0000 (16:42 +0200)
commit01eb79a3ccc4a6a62a6712e93a976012b9f1fde2
tree07846e7f8cd8becd9a0e8571c88a367a54f3ca89
parent7ea364ae8bcdc49216713d03db9f662c4e8536f7
layout: Reset the OSK to the primary monitor when monitors change

When monitors change, the previous index might not mean the same
physical monitor anymore, in fact, it might become invalid. In the
latter case, we'll actually get a JS error when accessing
this.keyboardMonitor in _updateKeyboardBox() . To avoid this, let's
just always reset the OSK to the primary monitor.

https://bugzilla.gnome.org/show_bug.cgi?id=738536
js/ui/layout.js